﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class RoomPrices
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int RoomPriceId { get; set; }

            public string RoomPriceName { get; set; }

            public decimal? FullDayPrice { get; set; }

            public decimal? WeeklyPrice { get; set; }

            public decimal? MonthlyPrice { get; set; }

            public int? DefaultAdults { get; set; }

            public int? DefaultChildren { get; set; }

            public bool UseFullDayPrice { get; set; }

            public bool UseDayNightPrice { get; set; }

            public bool UseWeeklyPrice { get; set; }

            public bool UseMonthlyPrice { get; set; }

            public bool UseExtraAdultPrice { get; set; }

            public bool UseExtraChildPrice { get; set; }

            public decimal? ExtraAdultPrice { get; set; }

            public decimal? ExtraChildPrice { get; set; }

            public bool UseHourlyPrice { get; set; }

            public System.DateTime? StartDate { get; set; }

            public System.DateTime? EndDate { get; set; }

            public bool ApplyOnMonday { get; set; }

            public bool ApplyOnTuesday { get; set; }

            public bool ApplyOnWednesday { get; set; }

            public bool ApplyOnThursday { get; set; }

            public bool ApplyOnFriday { get; set; }

            public bool ApplyOnSaturday { get; set; }

            public bool ApplyOnSunday { get; set; }

            public int Priority { get; set; }

            public int? HotelId { get; set; }

            public int? RoomTypeId { get; set; }

            public bool IsActive { get; set; }

            public decimal? DayNightPrice { get; set; }

            public bool UseEarlyCheckinFullday { get; set; }

            public bool UseEarlyCheckinDayNight { get; set; }

            public System.TimeSpan FullDayCheckoutTime { get; set; }

            public Hotels Hotels { get; set; }

            public RoomTypes RoomTypes { get; set; }

            public EntitySet<ReservationRooms> ReservationRoomsList { get; set; }

            public EntitySet<RoomCharges> RoomChargesList { get; set; }

            public EntitySet<RoomMove> NewRoomMoveList { get; set; }

            public EntitySet<RoomMove> OldRoomMoveList { get; set; }

            public EntitySet<CMRoomRateMappings> CMRoomRateMappingsList { get; set; }

        }

        #endregion
    }
}